# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class ReadWriteProxy(object):

    def __init__(self, readWriteProxyId=None, status=None, instanceId=None, publicDomainName=None, internalDomainName=None, port=None, delayThreshold=None, loadBalancerPolicy=None, healthCheck=None):
        """
        :param readWriteProxyId: (Optional) 读写分离代理服务 ID
        :param status: (Optional) 读写分离代理服务的状态；参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)
        :param instanceId: (Optional) 读写分离代理服务关联的RDS实例 ID
        :param publicDomainName: (Optional) 读写分离代理服务公网域名
        :param internalDomainName: (Optional) 读写分离代理服务内网域名
        :param port: (Optional) 读写分离代理服务访问端口
        :param delayThreshold: (Optional) 延迟阈值
        :param loadBalancerPolicy: (Optional) 读写分离代理后端实例负载均衡策略；当前支持的负载均衡策略请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)
        :param healthCheck: (Optional) 后端实例健康检查配置详情
        """

        self.readWriteProxyId = readWriteProxyId
        self.status = status
        self.instanceId = instanceId
        self.publicDomainName = publicDomainName
        self.internalDomainName = internalDomainName
        self.port = port
        self.delayThreshold = delayThreshold
        self.loadBalancerPolicy = loadBalancerPolicy
        self.healthCheck = healthCheck
